/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rpt.lib.relatorio;

import net.sf.jasperreports.engine.design.JRDesignExpression;

/**
 *
 * @author Roberto
 */
public class CBibliotecaRelatorio {

    /**************************************************************************/
    /***                                                                    ***/
    /**************************************************************************/

    public static JRDesignExpression expressao(String aTexto, Class aClasse) {
        JRDesignExpression expression =
            new JRDesignExpression();
                expression.setValueClass(aClasse);
                expression.setText(aTexto);
        return expression;
    }

}
